<?php
class Modulemanager_Controller_Modulemanager implements Modulemanager_Controller_Mainable {
    
    public $page = array();
    
    private $modulemanager_model_modulemanager;
    private $modulemanager_model_accessleveldecision;
    
    public function __construct() {
        $this->modulemanager_model_accessleveldecision = new Modulemanager_Model_Accessleveldecision;
        $this->modulemanager_model_modulemanager = new Modulemanager_Model_Modulemanager;
    }
    
    public function main(array $variables = null) {
        $this->modulemanager_model_accessleveldecision->main($variables);
        $this->page = $this->modulemanager_model_modulemanager->main($variables);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
        
    }

}
